package com.xyyl.patient.entity.mall;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;


 /**
 * @projectName:xyyl-oms-server
 * @ClassName: MallOrderAction
 * @Description:MallOrderAction
 * @author @author wqs
 * @date 2018-03-05 14:18:16
 */
public class MallOrderRefund implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	private Integer id;
	//退货号
	private String returnNumber;
	//订单号
	private Integer orderId;
	//操作员ID
	private Integer operatorId;
	//退款操作员
	private Integer payId;
	//退单原因(买家)
	private String buyMessage;
	//说明(卖家)
	private String sellMessage;
	//商品的总金额
	private BigDecimal goodsAmount;
	//订单生成时间
	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	private Date addTime;
	//审核成时间
	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	private Date examineTime;
	//状态更新时间
	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	//退单状态，【0，未审核；1通过；2，已退款；3拒绝】
	private Integer status;
	//订单的状态;0未确认,1确认,2已取消,3无效,4退货,5已发货
	private Integer orderStatus;
	
	private String ordersn;
	
	private String username;
	//退货选择的快递公司名称
	private String returnEcompany;
	
	public Integer getPayId() {
		return payId;
	}
	public void setPayId(Integer payId) {
		this.payId = payId;
	}
	/**
	 * 获取：退货号
	 */
	public String getReturnNumber() {
		return returnNumber;
	}
	/**
	 * 设置：退货号
	 */
	public void setReturnNumber(String returnNumber) {
		this.returnNumber = returnNumber;
	}

	public Date getExamineTime() {
		return examineTime;
	}

	public void setExamineTime(Date examineTime) {
		this.examineTime = examineTime;
	}

	public String getReturnEcompany() {
		return returnEcompany;
	}
	
	public void setReturnEcompany(String returnEcompany) {
		this.returnEcompany = returnEcompany;
	}
	
	public String getOrdersn() {
		return ordersn;
	}
	public void setOrdersn(String ordersn) {
		this.ordersn = ordersn;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：退单号
	 */
	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}
	/**
	 * 获取：退单号
	 */
	public Integer getOrderId() {
		return orderId;
	}
	/**
	 * 设置：操作员ID
	 */
	public void setOperatorId(Integer operatorId) {
		this.operatorId = operatorId;
	}
	/**
	 * 获取：操作员ID
	 */
	public Integer getOperatorId() {
		return operatorId;
	}
	/**
	 * 设置：退单原因(买家)
	 */
	public void setBuyMessage(String buyMessage) {
		this.buyMessage = buyMessage;
	}
	/**
	 * 获取：退单原因(买家)
	 */
	public String getBuyMessage() {
		return buyMessage;
	}
	/**
	 * 设置：说明(卖家)
	 */
	public void setSellMessage(String sellMessage) {
		this.sellMessage = sellMessage;
	}
	/**
	 * 获取：说明(卖家)
	 */
	public String getSellMessage() {
		return sellMessage;
	}
	/**
	 * 设置：商品的总金额
	 */
	public void setGoodsAmount(BigDecimal goodsAmount) {
		this.goodsAmount = goodsAmount;
	}
	/**
	 * 获取：商品的总金额
	 */
	public BigDecimal getGoodsAmount() {
		return goodsAmount;
	}
	/**
	 * 设置：订单生成时间
	 */
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}
	/**
	 * 获取：订单生成时间
	 */
	public Date getAddTime() {
		return addTime;
	}
	/**
	 * 设置：状态更新时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：状态更新时间
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
	/**
	 * 设置：退单状态，【0，未审核；1通过；2，拒绝】
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 获取：退单状态，【0，未审核；1通过；2，拒绝】
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * 设置：订单的状态;0未确认,1确认,2已取消,3无效,4退货,5已发货
	 */
	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}
	/**
	 * 获取：订单的状态;0未确认,1确认,2已取消,3无效,4退货,5已发货
	 */
	public Integer getOrderStatus() {
		return orderStatus;
	}
}
